#!/bin/bash
# Scrip to check out and build the code base

if [ -d  codepattern ] ; then 
	rm -rf codepattern
fi

if [ -f  codepattern.tar.gz ] ; then 
	rm -f codepattern.tar.gz
fi

svn export https://codepatterns.googlecode.com/svn/trunk codepattern
tar -zcvf codepattern.tar.gz codepattern
cd codepattern
./Run.sh